﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace WMS.Domain
{
	[Table("Permission")]
	public class Permission:BaseModel
	{
		[Key]
		public int Pid { get; set; }

		[Required]
		public string? PName { get; set; }

		[Required]
		public int ParentId { get; set; }
		[Required]
		public string? RoutePath { get; set; }

		public string? RouteName { get; set; }

		public string? FilPath { get; set; } 

        [Required]
        public string? Icon { get; set; }

		public bool IsDel { get; set; }
    }
}

